home *** CD-ROM | disk | FTP | other *** search
- All About ALPHA
-
- =================================
-
-
-
- Copyright © 1990, Pete Keleher. All Rights Reserved.
-
-
-
- Portions of the help facility were inspired by John
-
- Norstad of Northwestern University.
-
-
-
- The Author(s) of this product are in no way liable
-
- for any direct or indirect damage caused by the product.
-
-
-
- Version 2.0 August 20, 1990
-
-
-
- You may freely copy and distribute ALPHA, but please bear
-
- in mind that ALPHA is Shareware. If you decide to keep it,
-
- please register your copy by sending $20 to the author. If
-
- you wish the latest version sent to you, please include
-
- either an extra $2 or a disk and SASE. If you are on the
-
- internet, I can send the latest version to you directly, so
-
- you need not bother with the extra $2. Please make any check
-
- or money order out to Pete Keleher, NOT Rice University.
-
-
-
- E-mail address: pete@rice.edu
-
- Snail-mail address: Pete Keleher
-
- P.O. Box 1892
-
- Dept. of Computer Science
-
- Rice University
-
- Houston, TX 77251-1892
-
-
-
- Thanks to Jerry Fowler, Butch Anton, Michael Connick,
-
- John Swartz, and Ephraim Vishniac.
-
-
-
-
-
- FEATURES:
-
- • Support. Even though I should be working on my thesis,
-
- I enjoy working on this editor, and would like it to
-
- become the standard low-cost mac editor. If you
-
- think that its seriously lacking a few features, drop me
-
- a line, I might agree w/ you and put them in. Of course,
-
- I'll take you more seriously if you have payed your
-
- shareware fee…
-
-
-
- • Can be configured as a coke-bottle emacs (sans a few of
-
- GNU's more advanced capabilities).
-
-
-
- • ALPHA is a MAC editor, not an emacs port. The clean,
-
- intuitive Mac interface is fully implemented. This means
-
- that switching from an editor like the one that is
-
- integrated with a popular C compiler is seamless. You
-
- can do everything w/ the mouse if you want to, but you
-
- can also do everything w/o the mouse.
-
-
-
- • Unlimited undo/redo.
-
-
-
- • All functions can be bound to any keystroke, including
-
- keystrokes modified by the command key, the control key,
-
- the shift key, the 'escape' key, and the 'prefixChar'
-
- key. Ability to map any extra keys, such as function
-
- keys, 'Home', 'End', etc.
-
-
-
- • Named marks and clipboards.
-
-
-
- • Regular expression searching of open and unopened files.
-
-
-
- • Configurable 'C' function tags.
-
-
-
- • File utilities such as InsertFile, FileStats,
-
- FileInfo, and FileRemove.
-
-
-
- • Cut/Copy/Paste and key equivalents in dialogs.
-
-
-
- • Many more features that I haven't documented. Play
-
- around!
-
-
-
-
-
- Road Map
-
- =================================
-
-
-
- Emacs is the best of those dreaded editors from mainframes
-
- which originated before mice, before cursor keys even. You
-
- don't have to know anything about emacs if you don't want
-
- to, but many of Alpha's functions are emacs equivalents.
-
- Many of the default key bindings are the same as emacs.
-
-
-
- The mark is just a specific location in the text that you
-
- think you might want to come back to, so you mark it, then
-
- later you call 'exchangePointAndmark', to get back to
-
- it. I liked marks so much that I added the capability to
-
- have any number of named marks (see the utilities menu).
-
- Emacs uses the mark and the "point" (the current insertion
-
- point) to limit the "current region". The current region
-
- can be operated on by many routines. The same routines
-
- also can operate on a region that is hilited instead.
-
-
-
- Emacs also has a keyboard macro, which is just a recording
-
- of a sequence of keystrokes. ALPHA has this, plus the
-
- capability to dump the current macro to a file in human-
-
- readable format, edit it, and load it again later.
-
-
-
- But the most important contribution of emacs was that it
-
- made it essential for my health to have unlimited undo/
-
- redo and the ability to bind any function to any
-
- keystroke. If you are like me, you spend a lot of time in
-
- your editor. You should be able to tailor the editor to
-
- your tastes, and it should be forgiving of mistakes.
-
-
-
- On the mac side, I have always been greatly impressed by
-
- the look and feel of Think C's editor. It has almost no
-
- advanced functionality, but it's fast and it's SOLID. I
-
- liked that, and so in some sense ALPHA has been modeled
-
- after Think's editor as well. Most of Think's features
-
- have been included here as well: open selection, shift
-
- left/right, balance, searching of a particular set of
-
- files, as well as various combinations of the cursor keys
-
- w/ shift and option modifiers. Using a third-party editor
-
- w/ Think isn't that easy, but it can be done. You can do
-
- all of your editing in ALPHA, and then when it's time to
-
- compile, select the "Make" menu item and hit the "Use
-
- Disk" button. This button forces think to go to disk and
-
- check modification times, something they should be doing
-
- as a matter of course anyway!
-
-
-
- So, where to start? Play around. Use the functions that are
-
- mapped to the keyboard by default. Have fun!
-
-
-
-
-
-
-
- Using Regular Expressions
-
- =================================
-
-
-
- ALPHA can search for patterns constructed from pseudo
-
- regular expressions. Regular expressions can not extend
-
- over a single line and are constructed from the following
-
- elements:
-
-
-
- c literal char
-
-